package cn.dqy.gotanserver.support.msghandle.impl;

import cn.dqy.gotanserver.dto.GoTanInet;
import cn.dqy.gotanserver.dto.GoTanObject;
import cn.dqy.gotanserver.support.SupportHelper;
import cn.dqy.gotanserver.support.msghandle.MsgProcessInterface;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

//处理心跳消息(这类消息无处理逻辑，打印日志即可)
@Component
public class TickMsgProcess implements MsgProcessInterface {
    static Logger logger = LoggerFactory.getLogger(TickMsgProcess.class);
    @Override
    public void process(GoTanInet inetPack, GoTanObject headPack, String ipAndPortKey) {
        logger.info("{} Tick ... ",ipAndPortKey);
    }
}
